import request from "@/utils/request";

/* 预警指令管理 */

// 数据表格 错误码300501
export function list(params) {
  return request({
    url: "/energy/warning-manage/list",
    method: "get",
    params,
  });
}

// 确认操作 错误码300502
export function alarmConfirm(data) {
  return request({
    url: "/energy/warning-manage/confirm",
    method: "put",
    data,
  });
}

// 人工分析 错误码300503
export function opinion(data) {
  return request({
    url: "/energy/warning-manage/opinion",
    method: "post",
    data,
  });
}
